package org.example.model.information.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("information")
public class Information implements Serializable {
    @TableId(value = "information_id",type= IdType.AUTO)
    private Integer pkId;
    @TableField("information_title")
    private String title;
    @TableField("information_content")
    private String content;
    private String informationUrl;
    private Integer views;
    private Integer likes;
    @TableField("create_time")
    private Date time;
    private String poster;//封面地址

}
